Image captions and wrapping [migrated]

Posted by Charles on Pro Webmasters See other posts from Pro Webmasters or by Charles
Published on 2011-06-29T15:47:23Z Indexed on 2011/06/29 16:31 UTC
Read the original article Hit count: 188

Filed under:

What's the best way to add a caption below an image? The image and its caption will be floated right, and the text on the caption needs to wrap -- a 200x200px image shouldn't have a caption of width 800px.

I would strongly prefer a solution that allows me to update images (with different widths) without changing the CSS or markup.

For reasons beyond my control the image itself will also be floated right, but this should not be too problematic.

© Pro Webmasters or respective owner

Related posts about html